package sortingRMI_server;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.JFrame;

@SuppressWarnings("unused")
public class SortServerWindow  extends JFrame implements ActionListener  {

	private static final long serialVersionUID = 2093611206286135098L;
	private JTextField messageField;
	private JTextArea messageArea;
	private JButton sendButton;
	
	public SortServerWindow() {
		setTitle("SortServer");
		messageField = new JTextField();
		messageArea = new JTextArea();
		sendButton = new JButton("Kill SortServer");
		getContentPane().add(sendButton, "South");
		sendButton.addActionListener(this);
		pack();
	}
	
	public void actionPerformed(ActionEvent evt) {
		System.exit(0);
	}
	
}
